IErrors interface ¶
Namespace: NextDesign.Core
Description¶
Provides access to model validation error information. The error information is registered in IModel.
Affiliation area¶
Name | Description |
---|---|
Search/Error/Output | A group of APIs to access error information, search results, and output windows. |
Property¶
Name | Description |
---|---|
AllErrors | Collection of all error information Returns an empty collection if there are no error registrations. |
Errors | Error information of error type error If there is no corresponding error, an empty collection is returned. |
Informations | Error information with error type information If there is no corresponding error, an empty collection is returned. |
Summaries | Error information of error type summary If there is no applicable error, an empty collection is returned. |
Warnings | Error information of error type warning If there is no corresponding error, an empty collection is returned. |
method¶
Name | Description |
---|---|
ClearErrors | Clears all error information. |
ClearErrorsAt | Clears all error information for the specified model. |
FindErrorByCategory | Finds error information in the specified category. The error information in the search results includes summary information. Returns an empty collection if there is no corresponding error information. |
FindErrorOfModelByCategory | Finds error information for the specified category of the given model. The error information in the search results includes summary information. Returns an empty collection if there is no corresponding error information. |